
import { Meta, Story, Canvas } from '@storybook/addon-docs';
import store from '@/.storybook/store';
import Index from '../../../pages/index.vue';

<Meta
  title="Pages/Homepage"
  component={Index}
/>

export const Template = (args, { argTypes }) => ({
  props: Object.keys(argTypes),
  components: { Index },
  store: store,
  template: '<Index />',
});

# Homepage example

<a href="?path=/story/pages-homepage--example">Go to the Canvas Tab</a>

---

<a href="?id=pages-homepage--example" target="_blank">Open in full width in a new tab</a>

<Canvas>
  <Story
    name="Example"
  >
    {Template.bind({})}
  </Story>
</Canvas>

